﻿using System.Collections.Generic;

namespace Borg.Framework
{
    internal class UptimeCommand : ICommand
    {
        public IEnumerable<string> GetArguments(string[] command, int pos)
        {
            return null;
        }

        private static string UpTime(string[] command)
        {
            return string.Format("up time: {0}", Runtime.UpTime);
        }

        public CommandHandler Handler
        {
            get { return UpTime; }
        }

        public string Help
        {
            get { return "Help for command \"uptime\""; }
        }

        public string Name
        {
            get { return "uptime"; }
        }
    }
}

